package com.cms.server.Entity;
// 合同实例

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonSerializer;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
public class ContractEntity {
    @JsonProperty(required = false)
    private Integer id;
    private Integer num;
    private String name;
    @JsonProperty(required = false, defaultValue = "")
    private String customer;  // 可以暂时没有 用,分割
    @JsonProperty(required = false, defaultValue = "")
    private String content;
    @JsonProperty(required = false)
    private MultipartFile file;  // 上传的附件
}
